package Facades;

import Entities.Area;
import Controllers.AreaFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "areaController")
@SessionScoped
public class AreaController extends AbstractController<Area> implements Serializable {

    @Inject
    private AreaFacade ejbFacade;

    public AreaController() {
        super(Area.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
